<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>账单详情</title>
	<#include "lib/lib.html" />
</head>
<body>	
	<div class="pop_main" style="padding-left:30px;width: 95%;">
		<div class="panel panel-primary mt-20">
			<div class="panel-header">订单详情</div>
			<div class="panel-body mt-20">
				<table class="table table-border table-bordered table-hover table-bg table-sort">
					<tbody>
						<tr>
					  		<td><strong>订单状态：</strong> 退款成功</td>
					  		<td><strong>平台订单号：</strong> ${refund.orderNum}</td>
					  		<td><strong>商户账单号：</strong> ${refund.merchantOrderNum}</td>
					  	</tr>
					  	<tr>
					  		<td><strong>退款订单号：</strong> ${refund.refundNum}</td>
					  		<!-- <td><strong>银行流水号：</strong> ${refund.bankTransaction}</td> -->
					  		<td><strong></strong> </td>
					  		<td><strong></strong> </td>
					  	</tr>
					  	<tr>
					  		<td><strong>来源渠道：</strong> ${refund.channelName}</td>
					  		<td><strong>来源商户：</strong> ${refund.companyName}</td>			  		
					  		<td><strong>来源应用：</strong> ${refund.appName}</td>
					  	</tr>
					  	<#if switchType==2>
						  	<tr>
						  		<td><strong>支付平台：</strong>${refund.wayName}</td>
						  		<!-- <td><strong>支付方式：</strong> ${refund.payTypeName}</td> -->
						  		<td><strong>支付通道：</strong> ${refund.rateName}</td>	
						  		<td><strong></strong> </td>			  		
						  	</tr>
						  	<tr>
						  		<td><strong>支付通道编号：</strong>${refund.payWayName}</td>
						  		<td><strong></strong></td>
						  		<td><strong></strong></td>					  		
						  	</tr>
					  	</#if>
					  	<#if switchType==1>
					  		<tr>
						  		<td><strong>支付平台：</strong>${refund.wayName}</td>
						  		<!-- <td><strong>支付方式：</strong> ${refund.payTypeName}</td> -->
						  		<td><strong></strong></td>			  		
						  	</tr>
					  	</#if>
					</tbody>
				</table>
			</div>
		</div>		
		<div class="panel panel-primary mt-20">
			<div class="panel-header">交易详情</div>
			<div class="panel-body mt-20">
				<table class="table table-border table-bordered table-hover table-bg table-sort">
					<tbody>
						<tr>
					  		<td><strong>交易时间：</strong> 
					  			<#if refund.payTime??>
									${refund.payTime?string('yyyy-MM-dd HH:mm:ss')!}
								</#if>
					  		</td>
					  		<td><strong>退款时间：</strong> 
					  			<#if refund.refundTime??>
									${refund.refundTime?string('yyyy-MM-dd HH:mm:ss')!}
								</#if>
					  		</td>
					  	</tr>
					  	<tr>
					  		<td><strong>订单金额：</strong> ${refund.refundMoney}</td>
					  		<td><strong>到账金额：</strong> ${refund.refundMoney?number - refund.refundMoney?number}</td>
					  	</tr>
					  	<tr>
					  		<td><strong>退款金额：</strong> ${refund.refundMoney}</td>
					  		<td><strong>手续费：</strong> ${refund.payWayMoney}</td>
					  	</tr>
					</tbody>
				</table>
			</div>
		</div>
	</div>
</body>
</html>